Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Manipulating and Accessing Menu Item Characteristics /


GetMenuItemKeyGlyph

NEW WITH THE APPEARANCE MANAGER

Gets the keyboard glyph for a menu item's keyboard equivalent.

pascal OSErr GetMenuItemKeyGlyph (
                     MenuHandle inMenu,
                     SInt16 inItem,
                     SInt16 *outGlyph)
inMenu
The handle to the menu structure of the menu item for which you wish to get the keyboard glyph.
inItem
An integer representing the item number of the menu item for which you wish to get the keyboard glyph.
outGlyph
On output, a pointer to an integer representing the modifier key glyph. For a description of keyboard glyphs and a list of the keyboard font character codes, see "The Extended Menu Resource".
function result
A result code; see "Result Codes".
SEE ALSO
"Appearance Manager Gestalt Selector Constants".

SetMenuItemIconHandle.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998